﻿using System.Data;
using System.Text;
using System.Collections;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using DAL;

namespace BLL
{
   public  class RoleBiz
    {
       RoleDao roleDao = new RoleDao();
       IBizSQL bizSQL = new BizSQL();
       

       
        public DataTable GetUserRole(string account)
        { return roleDao.GetUserRole(account);
        }
        public DataTable GetMenuByRole(string sysRoleID)
        {
            return roleDao.GetMenuByRole(sysRoleID);
        }
        public bool SetMenuRight(ArrayList menuArray, string strRight, string rangeLimit)
        {
            return roleDao.SetMenuRight(menuArray, strRight, rangeLimit);
        }
    }
}
